package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwTpi;
import com.tjmc.tiomscore.model.TranPtnHwTpiExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwTpiMapper extends TranPtnHwSuperMapper<TranPtnHwTpi> {
    long countByExample(TranPtnHwTpiExample example);

    int deleteByExample(TranPtnHwTpiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwTpi record);

    int insertSelective(TranPtnHwTpi record);

    List<TranPtnHwTpi> selectByExample(TranPtnHwTpiExample example);

    TranPtnHwTpi selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwTpi record, @Param("example") TranPtnHwTpiExample example);

    int updateByExample(@Param("record") TranPtnHwTpi record, @Param("example") TranPtnHwTpiExample example);

    int updateByPrimaryKeySelective(TranPtnHwTpi record);

    int updateByPrimaryKey(TranPtnHwTpi record);
}